package com.hxqh.bo.bean;

/**
 * FpsUserPolicySelected entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class FpsUserPolicySelected implements java.io.Serializable {

	// Fields

	private Long userPolicyId;
	private Integer userId;
	private Integer policyId;
	private Integer startup;
	private Integer used;
	private Integer tradeNum;
	private Double policyProfitLost;
	private Double policyStopProfit;
	private Double policyStopLost;
	private Integer userMaxHoldNum;

	// Constructors

	/** default constructor */
	public FpsUserPolicySelected() {
		this.startup = 1;
		this.used = 1;
	}

	/** minimal constructor */
	public FpsUserPolicySelected(Integer userId, Integer policyId) {
		this.userId = userId;
		this.policyId = policyId;
	}

	/** full constructor */
	public FpsUserPolicySelected(Integer userId, Integer policyId,
			Integer startup, Integer used, Integer tradeNum,
			Double policyProfitLost, Double policyStopProfit,
			Double policyStopLost, Integer userMaxHoldNum) {
		this.userId = userId;
		this.policyId = policyId;
		this.startup = startup;
		this.used = used;
		this.tradeNum = tradeNum;
		this.policyProfitLost = policyProfitLost;
		this.policyStopProfit = policyStopProfit;
		this.policyStopLost = policyStopLost;
		this.userMaxHoldNum = userMaxHoldNum;
	}

	// Property accessors

	public Long getUserPolicyId() {
		return this.userPolicyId;
	}

	public void setUserPolicyId(Long userPolicyId) {
		this.userPolicyId = userPolicyId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getPolicyId() {
		return this.policyId;
	}

	public void setPolicyId(Integer policyId) {
		this.policyId = policyId;
	}

	public Integer getStartup() {
		return this.startup;
	}

	public void setStartup(Integer startup) {
		this.startup = startup;
	}

	public Integer getUsed() {
		return this.used;
	}

	public void setUsed(Integer used) {
		this.used = used;
	}

	public Integer getTradeNum() {
		return this.tradeNum;
	}

	public void setTradeNum(Integer tradeNum) {
		this.tradeNum = tradeNum;
	}

	public Double getPolicyProfitLost() {
		return this.policyProfitLost;
	}

	public void setPolicyProfitLost(Double policyProfitLost) {
		this.policyProfitLost = policyProfitLost;
	}

	public Double getPolicyStopProfit() {
		return this.policyStopProfit;
	}

	public void setPolicyStopProfit(Double policyStopProfit) {
		this.policyStopProfit = policyStopProfit;
	}

	public Double getPolicyStopLost() {
		return this.policyStopLost;
	}

	public void setPolicyStopLost(Double policyStopLost) {
		this.policyStopLost = policyStopLost;
	}

	public Integer getUserMaxHoldNum() {
		return this.userMaxHoldNum;
	}

	public void setUserMaxHoldNum(Integer userMaxHoldNum) {
		this.userMaxHoldNum = userMaxHoldNum;
	}

}